/*==== layout header */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    a{background-color:transparent;}
}
input::-ms-clear, input::-ms-reveal{display:none;}

.clearfix:after {
    content: ' ';
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.c-fl{
    float: left;
}

.c-fr{
    float: right;
}

.sidebar-mini.sidebar-collapse .content-main{
    left:50px;
}
/*==== layout content-main */
.content-main{
    position: absolute;
    left: 180px;
    top:80px;
    bottom: 0px;
    right: 0px;
    overflow: hidden;
    padding: 15px;
    padding-left: 0px;
    transition: transform .3s ease-in-out,margin .3s ease-in-out;
}
/*==== layout content-main end */

/*==== 二级树菜单按钮 */
.tree-sidebar{
    display:none;
    position: absolute;
    z-index: 1000;
    left: 0px;
    top:65px;
    padding: 10px;
    background-color:#222d32;
    color:#fff;
}
.tree-padding{
    padding-left:45px;
}

@media (max-width: 767px){
    .tree-sidebar{
        display:block;
        top:115px;
    }
}
/*==== 二级树菜单end */

/*==== 搜索下拉框 */
.seach-list-box{
    position: absolute;
    background: #fff;
    z-index: 89;
    border: 1px solid #ddd;
    box-shadow: 2px 7px 13px #ccc;
    margin: 0;
    padding: 0;
    overflow: auto;
    height: 200px;
}
.list-box{

}
.list-box li{
    display: block;
    cursor: pointer;
    padding: 5px 20px;
}
.list-box li.active{
    background-color: #97cdea;
}
/*==== 搜索下拉框end */

/*==== 表单验证 */
input.ng-invalid.ng-dirty {
    border-color: #FA787E;
}
textarea.ng-invalid.ng-dirty {
    border-color: #FA787E;
}

.verification{
    line-height: normal;
    /*position: absolute;*/
    margin-top: 5px;
    width: 100%;
}
.verification .tips{
    color:#959595;
}
.verification .errors{
    position: absolute;
    left: 0;
    padding-left: 130px;
    white-space: normal;
    width: 100%;
    color: #f00;
}

span.error{
    line-height: normal;
    position: absolute;
    margin-top: 5px;
}
.error,.red{
    color: #f00;
}
.isExisted{
    position: absolute;
    left: 0;
    color: #f00;
}
/*==== 表单验证end */

/*==== table 样式 */
.table-box{
    width: 100%;
    background-color: #fff;
    table-layout: fixed;
    border-collapse: collapse;
}
.table-box thead,.table-box tbody{
    position: relative;
    display: inline-block;
    table-layout: fixed;
    width: 100% !important;
}
.table-box th,.table-box td {
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 5px;
    text-align: left;
    font-weight: normal;
    overflow: hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}
/*只针对火狐浏览器的css hack*/
@-moz-document url-prefix(){
    .table-box th, td {
        float:left;
    }
}
.table-box th,td a{
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow:ellipsis;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}
.table-box th{
    text-align: center;
}
.table-box td:nth-child(1),.table-box td:nth-child(2){
    text-align: center;
}
.table-box th:nth-child(1),.table-box th:nth-child(2){
    text-align: center;
}
.table-box td+td{
    border-left: 1px solid #ddd;
}
.table-box th+th{
    border-left: 1px solid #ddd;
}
.table-box th{
    height: 50px;
    line-height: 50px;
}
.table-box thead tr{
    width: 100%;
    display: table;
    border-top:1px solid #dfdfdf;
    border-bottom:1px solid #dfdfdf;
}
.table-box tbody tr{
    width: 100%;
    display: table;
}
.table-box tbody tr:last-child{
    border-bottom: 1px solid #ddd;
}
.table-box tbody tr:nth-child(even) {
    background: #f6f8fa;
}
.table-box .lock{
    position: absolute;
    top: 0px;
    left: 0px;
    color: #F96268;
    background-color: #fff;
}
/*==== table 样式 end */

/*==== 翻页 */
.page-blank{
    width: 50px;
}
.go-page{
    display: inline-block;
    vertical-align: middle;
    margin-left: 25px;
}
.go-page input.page-blank,span.text{
    display: inline-block;
    vertical-align: middle;
}
.total-page{
    display: inline-block;
    line-height: 28px;
    margin-right: 10px;
}
.page-sizeList{
    display: inline-block;
    line-height: 28px;
}
.kkpage{
    position: relative;
    padding: 5px 0;
    text-align: center;
    margin-top: 25px;
}
.kkpage button.btn{
    display: inline-block;
    vertical-align: middle;
    min-width: 60px;
    padding: 0;
    height: 28px;
    line-height: 27px;
}
.kkpage input.page-blank{
    width: 48px;
    height: 28px;
    line-height:28px;
    min-height: 28px;
    max-height: 28px;
    border: 1px solid #96A0AD;
    padding: 0px;
    text-align: center;
}
.kkpage input.page-blank:focus{
    border-color: #1d88dd;
}
.kkpage button.page-size{
    min-width: 28px;
    padding: 0px 5px;
    border-radius: 0;
    box-shadow: none;
}
.kkpage .btn-group{
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.kkpage .btn-default:hover{
    color: #666;
    border: 1px solid #979797;
    background-color: #fff;
}
.kkpage .btn-primary.active{
    background: #3BAFDA;
}
.kkpage .btn-group:first-child{
    margin-right:10px;
}
.kkpage .select-page-index{
    border: 1px solid #A9B2BD;
    bottom: 27px;
    width: 68px;
    right: 0px;
    background-color: #fff;
}
.kkpage .select-page-index li+li{
    border-top:1px solid #E6E9ED;
}
.kkpage .select-page-index a{
    display: inline-block;
    width: 100%;
    height: 28px;
    line-height: 28px;
}
.kkpage .select-page-index a:hover{
    background-color: #01AAED;
    color: #fff;
}
.kkpage button.btn.select-page{
    width: 68px;
    height:28px;
    position: relative;
    text-align: left;
    padding-left: 12px;
    line-height:24px;
}
.kkpage .up.icon-up{
    position: absolute;
    right: 2px;
    font-size: 15px;
    top: 1px;
    color: #4FC1E9;
}
.kkpage .down.icon-caret-down{
    position: absolute;
    right: 1px;
    bottom: 1px;
    font-size: 12px;
    color: #fff;
    background: #4FC1E9;
    height: 26px;
    line-height: 26px;
    padding: 0px 3px;
    width: 18px;
    text-align: center;
    z-index: 10;
    cursor: pointer;
    border-radius: 0px 1px 1px 0px;
}
.kkpage .usable-page, .kkpage .unusable-ellipsis{
    color: #555;
    margin: 0px 5px;
    padding: 0px 5px;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    vertical-align: middle;
}
.btn-primary.active{
    color: #fff;
    background: #4FC1E9;
    border: 1px solid #3BAFDA;
    box-shadow: inset 0 2px 1px 0 rgba(0,0,0,0.10);
}
/*==== 翻页end */

/*==== bootstrap.js */
.dropdown-menu{
    display: none;
}
.open .dropdown-menu{
    display: block;
    position: absolute;
}
/*==== bootstrap.js end */

/*==== tabTabs */
ul.nav-tabs{
    position: absolute;
    top: 1px;
    z-index: 1;
}
ul.nav-tabs li{
    margin-top: -1px;
    display: inline-block;
    vertical-align: middle;
    height: 51px;
    line-height: 50px;
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    font-size: 18px;
    text-align: center;
    width: 160px;
}
ul.nav-tabs li+li{
    border-left: none;
}
ul.nav-tabs li a{
    display: inline-block;
    vertical-align: middle;
    line-height: 49px;
    color: #555;
    width:100%;
}
ul.nav-tabs li.active{
    background-color: #fff;
    border-radius: 2px 2px 0px 0;
    border-bottom: none;
}
/*.tab-content .table-pane{
    height:100%;
}*/
.m-tab .tab-content{
    background: #fff;
    border: 1px solid #ddd;
    min-height: 300px;
}

ul.nav-tabs.nav-justified{
    display: flex;
    flex-direction: row;

}
ul.nav-tabs.nav-justified{
    position: relative;
    display: flex;
    flex-direction: row;
}
ul.nav-tabs.nav-justified li{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #e4e4e4;
    border-top: 1px solid #f4f4f4;
    font-size: 18px;
    text-align: center;
}
ul.nav-tabs.nav-justified li a{
    display: inline-block;
    width: 100%;
    line-height: 50px;
    color: #555;
    padding: 0;
}
ul.nav-tabs.nav-justified li.active{
    background-color: #fff;
    border-radius: 2px 2px 0px 0;
    border-bottom: none;
}
ul.nav-tabs.nav-justified .tab-content .table-pane{
    height:100%;
}
ul.nav-tabsnav-justified li+li{
    border-left: 1px solid #f4f4f4;
}
/*==== tabTabs END */

/*==== select下拉框 */
.select-box{
    position: relative;
}
.select-box dd.select-list{
    position: absolute;
    z-index: 5;
    background: #fff;
    left: 0;
    bottom: 35px;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #A9B2BD;
}
.select-box dl{
    margin: 0;
    padding: 0 13px;
    line-height: 34px;
}
.select-box dl+dl{
    border-top: 1px solid #ddd;
}
.select-box dl:hover{
    background-color: #01AAED;
    color: #fff;
}
.select-box .icon-up{
    position: absolute;
    right: 0;
    top: 2px;
    color: #4FC1E9;
}
.select-box .icon-down{
    position: absolute;
    right: 0;
    top: 18px;
    color: #4FC1E9;
}
.select-box .icon-up.disabled{
    color: #a4d7eb;
}
.select-box .icon-down.disabled{
    color: #a4d7eb;
}
/*==== select下拉框 end */

/*==== 为了隐藏滚动条而做的关于tree容器 */
.tree-container{
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    bottom: 15px;
}
/*组织管理，用户管理的tree*/
.tree-scroll-box{
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0px;
    top: 50px;
}
/*用户组管理的tree*/
.tree-scroll-isAdd-box{
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0px;
    top: 107px;
}
/*添加弹框里的tree*/
.select-tree-box{
    position: absolute;
    top: 49px;
    left: 0;
    bottom: 0;
    right: 0;
}
/*角色的tree*/
#wrap-tree{
    position: absolute;
    left: 15px;
    right: 15px;
    top: 144px;
    bottom: 3px;
}
/*==== 为了隐藏滚动条而做的关于tree容器 end */

/*==== textarea字数 */
.show-string-length{
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #999;
    line-height: 15px;
}
/*==== textarea字数 end */


/*==== 主数据table公共样式 */
/*检索和高级筛选*/
.add-search-box{
    padding: 15px;
    width: 100%;
    text-align: center;
    padding-right: 108px;
}
.add-search-box .list-search-box {
    width: 50%;
    display: inline-block;
    position: relative;
    text-align: center;
}
.add-search-box input{
    width: 100%;
    padding-left: 35px;
}
.add-search-box .search-table{
    position: absolute;
    left: 0;
    top: 0;
    color: #ccc;
    padding: 10px;
}

.batch-operation{
    padding: 15px;
    padding-top: 0px;
}
.batch-operation button+button{
    margin-left: 5px;
}
/*检索和高级筛选 end*/
.master-table{
    height: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    position: absolute;
    left: 140px;
    right: 140px;
    bottom: 15px;
    top: 15px;
}

.master-table .batch-operation{
    padding: 15px;
    padding-top: 0;
}
.master-table .batch-operation .btn{
    width: 98px;
    padding: 0px;
}

.batch-operation .btn{
    width: 98px;
    padding: 0px;
}

.master-table .batch-operation .btn+.btn{
    margin-left: 10px;
}
.master-table .batch-operation.top{
    padding: 15px;
    padding-bottom: 0px;
}
.master-table .batch-operation.top button:last-child{
    float: right;
}
.user-table td a{
    cursor: pointer;
}
/*==== 主数据table公共样式 end */

/*==== 主数据label */
.switch-list{
    position: relative;
    display: block;
    overflow: auto;
}
.switch-list li{
    position: relative;
    float: left;
    width: 100%;
    padding-right: 300px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: right;
}
.switch-list li .input-text, .switch-list li .textarea-text{
    position: absolute;
    top: 15px;
    right: 0px;
    width: 295px;
}
.switch-list li label{
    width: 100%;
    line-height: 34px;
}
.switch-list li label b{
    color: red;
}
.senior-box{
    padding: 15px;
    text-align: left;
    padding-left: 0;
}
.senior-box span{
    margin-left: 15px;
}
.senior-box.senior-rows{
    padding: 0px;
    width: 100%;
}
.senior-box.senior-rows .senior-panel{
    display: inline-block;
    vertical-align: middle;
    padding: 15px;
}
.senior-box.senior-rows .senior-panel .select-input{
    width: 120px;
    padding-left: 12px;
}
.senior-box.senior-rows .senior-label{
     height: 34px;
     line-height: 35px;
     display: inline-block;
     vertical-align: middle;
}
.senior-box.senior-rows .select-box{
    height: 34px;
    width: 100%;
    line-height: 35px;
    display: inline-block;
    vertical-align: middle;
}
.senior-box.senior-rows .select-box{
    width: auto;
}
/*==== 主数据label end */


/*==== 带过滤类型的布局样式 费用和供应商 */
.type-filter-layout .panel-left{
    width: 142px;
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}
.type-filter-layout .panel-right{
    left: 172px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    top: 15px;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}
/*==== 带过滤类型的布局样式 费用和供应商 end */

/*==== 不带留白的布局 */
.only-list{
    position: absolute;
    left: 15px;
    top: 15px;
    right: 15px;
    bottom: 15px;
    background: #fff;
    border: 1px solid #ddd;
}
/*==== 不带留白的布局 end */

/*==== 高级筛选 */
/* 高级搜索 */
.senior-seach{
    cursor: pointer;
    top: 0px;
    right: -108px;
    position: absolute;
    line-height: 34px;
    color: #fff;
    width: auto;
    padding: 0px;
}
.senior-seach.has-senior{
    cursor: pointer;
    top: 0px;
    right: -220px;
    position: absolute;
    line-height: 34px;
    color: #fff;
    width: auto;
    padding: 0px;
}
.senior-seach button{
    width: 98px;
    padding: 0px;
}
.senior-seach button+button{
    margin-left: 10px;
}
.senior-seach button.btn-transparent{
    color: #888888;
    border: none;
    background: transparent;
}
/*==== 高级筛选 end */

/*==== 左侧三分栏，已选，待选，弹框样式 */
.box-form .panel{
    position: absolute;
    left: 40px;
    top: 25px;
    right: 0;
    bottom: 0;
    width: 280px;
    border: 1px solid #ccc;
    background-color: #fff;
}
.box-form .panel-has-top{
    top:25px;
    background: #fff;
}
.box-form .panel-tips{
    position: absolute;
    top:-30px;
    color:#888;
    font-size:14px;
}
.box-form .panel.middle{
    left: 360px;
}
.box-form .panel.right{
    left: 680px;
}
.box-width .panel .box-header.with-border .seach-tree{
    border: none;
}
.box-width .panel .box-header.tree{
    padding-left: 15px;
    padding-right: 15px;
}
.box-header.with-border .seach-tree{
    position: relative;
    padding-top: 15px;
    width: 100%;
    height: 50px;
}
.box-header.with-border .seach-tree .icon-search{
    position: absolute;
    top: 23px;
    left: 10px;
    color: #CCD1D9;
}
.box-header.with-border .seach-tree .form-control{
    padding-left: 30px;
}
.prompt-modal.box-width .operation{
    text-align: right;
    padding-right: 40px;
}
.prompt-modal.box-width button.btn{
    width: 120px;
    padding: 0;
    text-align: center;
}
.prompt-modal.box-width .cancel-selected{
    position: absolute;
    height: 50px;
    font-size: 23px;
    width: 20px;
    right: 330px;
    top: 40%;
}
.prompt-modal.box-width .move-select-user{
    position: absolute;
    right: 330px;
    top: 50%;
    margin-top: -85px;
    height: 170px;
    width: 20px;
}
.prompt-modal.box-width .move-select-user .cancel-selected{
    position: absolute;
    top:0;
    left: 0;
}
.prompt-modal.box-width .move-select-user .add-unselected{
    position: absolute;
    top:110px;
    left: 0;
}
.prompt-modal.box-width .move-select-user .btn{
    height: 50px;
    width: 20px;
    font-size: 23px;
}
.selected-user span.selected-user-list{
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    height: 40px;
    line-height: 40px;
    width: 278px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.selected-user span.selected-user-list.active{
    background-color: red;
}
.prompt-modal.box-width .bomb-box{
    min-width: 1000px;
}
/*==== 左侧三分栏，已选，待选，弹框样式 end */

/*更多下拉列表*/
.more-operat{
    position: absolute;
    border: 1px solid #A9B2BD;
    top: 34px;
    left: 0px;
    z-index: 18;
    width:100%;
}
.more-operat a{
    float: left;
    padding: 5px 0;
    line-height: 30px;
    background: #fff;
    width: 100%;
    text-align: center;
    cursor:pointer;
}
.more-operat a+a{
    border-top: 1px solid #dfdfdf;
}
.more-operat a:hover{
    background: #5fbdf0;
    color: #fff;
}
.more-operat a:active{
    background: #2699d8;
    color: #fff;
}
.u-red-dot{
    width: 6px;
    height: 6px;
    display: inline-block;
    background: #F96268;
    border-radius: 6px;
    margin-right: 6px;
    vertical-align: middle;
    margin-left:-12px;
}
/** 备注字符长度 */
.content-info .text-legth{
    position: absolute;
    bottom: 0px;
    right: 8px;
    color: #999;
}
.btn-search{
    color: #fff;
    border: 1px solid #3BAFDA;
    background-color: #3BAFDA;
    height: 34px;
    line-height: 34px;
    border-radius: 2px;
    font-size: 14px;
    box-sizing: border-box;
    width: 98px;
}
.select-icon{
    font-size: 12px;
}